import 'package:json_annotation/json_annotation.dart';

part 'buy_give_discount.g.dart';

@JsonSerializable(explicitToJson: true)
class BuyGiveDiscount {
    BuyGiveDiscount();

    int id;
    int storeId;
    int userId;
    int discountId;
    int buyCount;
    int giveCount;
    int commodityId;
    int skuId;
    int giveCommodityId;
    int giveSkuId;
    String ctime;
    String utime;
    String discountName;
    
    factory BuyGiveDiscount.fromJson(Map<String,dynamic> json) => _$BuyGiveDiscountFromJson(json);
    Map<String, dynamic> toJson() => _$BuyGiveDiscountToJson(this);
}
